package com.caishi.lkx.exam.vo;

import java.io.Serializable;

public class PkData implements Serializable {
    private String questionId;
    private String answer;
    private String time;
    private Boolean finished;
    private boolean isRight;
    // 必须有默认构造函数
    public PkData() {}
    public PkData(String questionId, String answer, String time, Boolean finished,boolean isRight) {
        this.questionId = questionId;
        this.answer = answer;
        this.time = time;
        this.finished = finished;
        this.isRight = isRight;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Boolean getFinished() {
        return finished;
    }

    public void setFinished(Boolean finished) {
        this.finished = finished;
    }

    public boolean isRight() {
        return isRight;
    }

    public void setRight(boolean right) {
        isRight = right;
    }
}
